package com.mediocre.constant;

import lombok.Getter;

@Getter
public enum OptType {

    Query(1, "Query"),
    Create(2, "Create"),
    Update(3, "Update"),
    Delete(4, "Delete");

    private final Integer code;
    private final String name;

    OptType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
